package galaxies;

import java.util.ArrayList;
import java.util.HashMap;

import model.IModel;

import com.jme3.math.Vector2f;
import com.jme3.math.Vector3f;
import com.jme3.scene.Spatial;

import utilities.Key;
import view.EViewList;
import view.AbstractView;

import controller.AbstractController;
import controller.IController;
import controller.PhysicalEventStrategyPack;
import eventManager.EventManager;
import eventManager.IEventData;
import eventStrategies.DefaultViewStrategy;
import events.ECodeEventList;

public class GalaxyController extends AbstractController {//PhysicalEventStrategyPack {

	public GalaxyController() {
		loadSpecificEventStrategies();
	}
	
//	public HashMap<Integer, ArrayList<Integer>> getLocations() {
//		GalaxyModel fullModel = (GalaxyModel) controller.getModel();
//		return fullModel.getLocations();
//	}

	public void loadSpecificEventStrategies() {
//		loadStrategy(new DefaultViewStrategy(controller.getViews()));
		
	}
	
	
//	//IController interface methods
//	public void setModel(GalaxyModel model) {
//		controller.setModel(model);
//	}
//
//	public void setSpatial(Spatial spatial) {
//		controller.setSpatial(spatial);
//	}
//
//	public HashMap<EViewList, AbstractView> getViews() {
//		return controller.getViews();
//	}
//	
//
//	public HashMap<ECodeEventList, IEventResponse> getEvents() {
//		return controller.getEvents();
//	}
	
//	public HashMap<ECodeEventList, CodeEventStrategy> getViewEvents() {
//		return controller.getViewEvents();
//	}
//	
//	public HashMap<ECodeEventList, CodeEventStrategy> getControllerEvents() {
//		return controller.getControllerEvents();
//	}

	
	
//	public void loadStrategy(IEventResponse strategy) {
//		controller.loadStrategy(strategy);
//	}
	
//	public void loadViewStrategy(CodeEventStrategy strategy) {
//		controller.loadStrategy(strategy);
//	}
//	
//	public void loadControllerStrategy(CodeEventStrategy strategy) {
//		controller.loadStrategy(strategy);
//	}

//	public void processOutgoingEvent(IEventData event) {
//		controller.processOutgoingEvent(event);
//	}
//
//	public void handleEvent(IEventData event) {
//		controller.handleEvent(event);
//	}
//
//	public Key getKey() {
//		return this.controller.getKey();
//	}
//	
//	public void setKey(Key key) {
//		this.controller.setKey(key);
//	}

	
}


//private ArrayList<VGalaxy> views = new ArrayList<VGalaxy>();
//
//public void addView(VGalaxy view) {
//	views.add(view);
//}
